<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<style type="text/css">
@import
	"http://ajax.googleapis.com/ajax/libs/dojo/1.3/dijit/themes/soria/soria.css"
	;
@import
"http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/resources/dojo.css"
@import
"$http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/resources/dojo.css"
</style>
<script type='text/javascript' src='/dwr/engine.js'></script>
<script
	src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.2/mootools-yui-compressed.js"></script>

<script type="text/javascript"
	src="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/dojo.xd.js"
	djConfig="parseOnLoad:true, isDebug:true"></script>
</head>

<body class="soria">
<script type="text/javascript" src="/dwr/interface/chartService.js">
  </script>
<script type="text/javascript">
var googleChartReplay=function(data){
	$("google-chart-img").setProperty('src', data);
}
</script>

<div><img id="google-chart-img" src="http://chart.apis.google.com/chart?chxl=0:|.0|10.0|20.0|30.0|40.0|50.0|60.0|70.0|80.0|90.0|1:|1.0|20.0|39.0|58.0|77.0|&chs=400x300&cht=lc&chd=s:ADGJMQTWZcgjmpswz259&chxt=x,y"  style="padding-left:0px;width:90%;"></div>

<p style="padding-left:10px">
<a>Y =</a><input id="google-chart-input" type="text" value="x+1" style="margin-left:35px;width:80%;">
</p>
<p style="padding-left:10px">
最小值：
  <input id="google-chart-min" value="0" style="width:80%;">
</p>
<p style="padding-left:10px">
最大值：
<input id="google-chart-max" value="100" style="width:80%;">
</p>
<p style="padding-left:10px">
<input type="button" value="绘图" style="width:20%;"
	onclick="chartService.draw(
		$('google-chart-input').value,
		$('google-chart-min').value,
		$('google-chart-max').value,
		googleChartReplay
		);">
	</p>
</body>
</html>
